﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using V5_EaspLibs.Core;
using V5_EaspLibs.Data;
using System.Reflection;

namespace V5_EaspLibs {
    /// <summary>
    /// Easp类库
    /// </summary>
    public static class Easp {
        /// <summary>
        /// 消息框
        /// </summary>
        public static MessageBoxHelper MSG { get { return MessageBoxHelper.Instance; } }
        /// <summary>
        /// 字符处理
        /// </summary>
        public static StringHelper Str { get { return StringHelper.Instance; } }
        /// <summary>
        /// 数据库操作
        /// </summary>
        public static DBHelper DB { get { return DBHelper.Instance; } }
        /// <summary>
        /// 请求处理
        /// </summary>
        public static RequestHelper Req { get { return RequestHelper.Instance; } }
        /// <summary>
        /// 安全处理
        /// </summary>
        public static SecurityHelper Sec { get { return SecurityHelper.Instance; } }
        /// <summary>
        /// 分页处理
        /// </summary>
        public static PagerHelper Pager { get { return PagerHelper.Instance; } }
        /// <summary>
        /// 文件处理
        /// </summary>
        public static FsoHelper Fso { get { return FsoHelper.Instance; } }
        /// <summary>
        /// Http处理
        /// </summary>
        public static HttpHelper Http { get { return HttpHelper.Instance; } }
        /// <summary>
        /// 验证处理
        /// </summary>
        public static ValidatorHelper Validator { get { return ValidatorHelper.Instance; } }
        /// <summary>
        /// Html
        /// </summary>
        public static HtmlHelper Html { get { return HtmlHelper.Instance; } }
        /// <summary>
        /// 图片操作
        /// </summary>
        public static ImageHelper Image { get { return ImageHelper.Instance; } }
        /// <summary>
        /// 缓存操作
        /// </summary>
        public static CacheHelper Cache { get { return CacheHelper.Instance; } }
        /// <summary>
        /// 调试
        /// </summary>
        public static DebugHelper Debug { get { return DebugHelper.Instance; } }
        /// <summary>
        /// 反射接口
        /// </summary>
        public static DataAccessHelper DataAccess { get { return DataAccessHelper.Instance; } }
        /// <summary>
        /// 验证码
        /// </summary>
        public static ImageCodeHelper ImageCode { get { return ImageCodeHelper.Instance; } }
        /// <summary>
        /// 配置
        /// </summary>
        public static ConfigHelper Config { get { return ConfigHelper.Instance; } }
        /// <summary>
        /// 日志
        /// </summary>
        public static LogHelper Log { get { return LogHelper.Instance; } }
        public static PinyinHelper Pinyin { get { return PinyinHelper.Instance; } }

        /// <summary>
        /// 加载核心类
        /// </summary>
        /// <param name="ClassName"></param>
        public static void Puse(string ClassName) {
        }
        /// <summary>
        /// 加载插件类
        /// </summary>
        /// <param name="ClassName"></param>
        public static void Ext(string ClassName) {

        }
        /// <summary>
        /// 下载文件
        /// </summary>
        public static DownFileHelper DownFile { get { return DownFileHelper.Instance; } }

    }
}
